<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Index</title>
<link rel="stylesheet" type="text/css" href="resources/css/style.css">
<script type="text/javascript" src="resources/js/jquery-1.7.1.js"></script>
<script type="text/javascript" src="resources/js/utility.js"></script>
<script type="text/javascript">
	$(document).ready(
		function() {
			$.get("loginPage.htm", function(data) {
				  $('#primaryBox').html(data);
				});
			isLogged();
		}
	);
</script>
</head>
<body>
	<div id="wrapper">
		<div id="header">
			<div id="logo">
				<h1>
					<a href="#">Stampa on-line</a>
				</h1>
			</div>
			<div id="menu">
				<ul>
					<li><a href="#" onclick="if(isLogged()) redir('welcomeUser.htm'); else redir('loginPage.htm');">Homepage</a></li>
					<li><a href="#" onclick="redir('newVolantino.htm')">Volantini</a></li>
					<li><a href="#" onclick="redir('newBigliettoVisita.htm')">Biglietti da visita</a></li>
					<li id="last"></li>
				</ul>
				<br class="clearfix" />
			</div>
		</div>
		<div class="box">
			<div id="error"></div>
		</div>
		<div id="primaryBox"></div>
	</div>
</body>
</html>